

<#include "/layout/easyuilayout.ftl"/> 
<@htmlHead>
	<script type="text/javascript" src="${webinfo.basePath}/MgrScript/sysmgr/authrole/js/index.js"></script>
</@htmlHead>  
<@htmlBody>  

<div id="AuthRole_Toolbar">    
   <input id="AuthRole_ss" class="easyui-searchbox" style="width:280px;"  data-options="searcher:AuthRoleSearchbox,prompt:'请输入关键字...',menu:'#AuthRole_mm'"></input>           
    <div id="AuthRole_mm" style="width:120px">   
        <div data-options="name:'roleName'">角色名称</div> 
        <div data-options="name:'roleMemo'">角色说明</div> 
    </div>  
    <a href="javascript:void(0)" class="easyui-linkbutton" iconCls="icon-add" plain="true" onclick="ShowAuthRoleEditForm()">新建</a>
    <span class="datagrid-btn-separator" style="float:none;"></span>  
    <a href="javascript:void(0)" class="easyui-linkbutton" iconCls="icon-reload" plain="true" onclick="ReloadAuthRoleList()">刷新</a>
   </div> 
<div data-options="region:'center',title:'',split:true,border:false" >
    <table id="AuthRole_Grid"> </table> 
</div>
<div id="AuthRole_EditForm" class="easyui-dialog" style="width:700px;height:195px;padding:0px"  closed="true"  modal="true"    buttons="#AuthRole_EditForm_buttons" > 
    <form  id="AuthRole_EditForm_fm"  method="post"  >  
          <div class="fitem"  style="display: none">  
            <label>自动序号: </label>   
        	<input name="id" class="easyui-numberbox" value="0" data-options="precision:0,required:false"     />
  
        </div>  
          <div class="fitem"  style="width:685px">  
            <label>角色名称: </label>
        	<input name="roleName" class="easyui-validatebox" value="" data-options="required:true" style="width:485px"    /> 
        </div> 
          <div class="fitem"  style="width:685px" >  
            <label>角色说明: </label>  
        	<input name="roleMemo" class="easyui-validatebox" value="" data-options="required:false"     style="width:485px"/> 
        </div> 
          <div class="fitem"  >  
            <label>类型: </label> 
            <select id="roleType" class="easyui-combobox" name="roleType"  style="width:180px;">  
			    <option value="F">功能</option>  
			    <option value="D">数据</option>   
			</select>   
        </div> 
        <div class="fitem"  >  
            <label>状态: </label>  
			<input type="radio" name="roleState" value="0"  /><span>失效</span>
    		<input type="radio" name="roleState" value="1" checked="checked"/><span>生效</span> 
        </div>  
         
    </form>
</div>
<div id="AuthRole_EditForm_buttons">
    <a href="javascript:void(0)" class="easyui-linkbutton" iconCls="icon-ok" onclick="SaveAuthRole()">保存</a>
    <a href="javascript:void(0)" class="easyui-linkbutton" iconCls="icon-cancel" onclick="javascript:$('#AuthRole_EditForm').dialog('close')">取消</a>
</div> 
</@htmlBody>

 

